<%@ page import="com.thinkgem.jeesite.common.utils.DateUtils" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>年检申报预警管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/mzb/mzbYearcheckView/">年检申报预警列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="mzbYearcheckView" action="${ctx}/mzb/mzbYearcheckView/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<sys:tableSort id="orderBy" name="orderBy" value="${page.orderBy}" callback="page();"/>
		<ul class="ul-form">
			<li><label>组织类别：</label><form:radiobuttons onclick="$('#searchForm').submit();" path="remarks" items="${fns:getDictList('shzz_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/></li>
			<li><label>类别：</label>
				<form:input path="offiName" htmlEscape="false" maxlength="100" class="input-medium"/>
			</li>
			<li><label>组织名称：</label>
				<form:input path="userName" htmlEscape="false" maxlength="100" class="input-medium"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>年度</th>
				<th>组织名称</th>
				<th >类别</th>
				<th>经办人手机</th>
				<th>状态</th>
				<%--<shiro:hasPermission name="mzb:mzbYearcheckView:edit"><th>操作</th></shiro:hasPermission>--%>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="mzbYearcheckView">
			<tr>
				<td>
					<%=DateUtils.getLastYear()%>年
				</td>
				<td>
						${mzbYearcheckView.userName}
				</td>
				<td>
					${mzbYearcheckView.offiName}
				</td>
				<td>
					${mzbYearcheckView.mobile}
				</td>
				<td>
					尚未提交年报
				</td>
				<%--<shiro:hasPermission name="mzb:mzbYearcheckView:edit"><td>--%>
    				<%--<a href="${ctx}/mzb/mzbYearcheckView/form?id=${mzbYearcheckView.id}">修改</a>--%>
					<%--<a href="${ctx}/mzb/mzbYearcheckView/delete?id=${mzbYearcheckView.id}" onclick="return confirmx('确认要删除该年报公示预警吗？', this.href)">删除</a>--%>
				<%--</td></shiro:hasPermission>--%>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>